#!/bin/bash

echo "starting admin"
python3 /opt/admin/api/ragflow_server.py &
echo "admin started, pid $!"

echo "starting agent"
python3 /opt/agent/api/ragflow_server.py &
echo "agent started, pid $!"

wait
exit 0